package com.liuwei;

import com.liuwei.service.UserService;
import com.spring.LiuWeiApplicationContext;

public class Test {
    public static void main(String[] args) {
        LiuWeiApplicationContext applicationContext=new LiuWeiApplicationContext(AppConfig.class);

        UserService userService= (UserService) applicationContext.getBean("userService");

        System.out.println(userService);
    }
}
